package com.hskn.hss.module.role.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hskn.hss.entity.AjaxResult;
import com.hskn.hss.exception.HssException;
import com.hskn.hss.module.role.entity.SysRole;
import com.hskn.hss.module.tlemployee.entity.TlEmployee;
import com.hskn.hss.module.user.entity.User;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hskn
 * @since 2020-11-16
 */
public interface SysRoleService extends IService<SysRole> {

    AjaxResult insertRole(JSONObject params) throws HssException;

    AjaxResult deleteroleByid(JSONObject params) throws HssException;
    AjaxResult deletebatchbyid(SysRole sysRole) throws HssException;
    AjaxResult updateRole(JSONObject params) throws HssException;

    SysRole getRoleById(JSONObject params) throws HssException;

    JSONObject getRoleList(JSONObject params) throws HssException;

    List<SysRole> selectRoleList();

    AjaxResult changeStatus(SysRole sysRole) throws HssException;

}
